package com.project.security.dao;

import java.util.List;
import java.util.Map;

import org.mybatis.spring.support.SqlSessionDaoSupport;

import com.project.security.model.Menu;

public class MenuDao extends SqlSessionDaoSupport implements MenuMapper {
	private static final long serialVersionUID = 6148885672512644854L;

	@Override
	public List<Menu> queryAllMenu() {
		return this.getSqlSession().selectList("menu_queryAllMenu");
	}

	@Override
	public List<Menu> queryByActor(Map strMap) {
		return this.getSqlSession().selectList("menu_queryByActor", strMap);
	}

}
